Rtcl\Helpers\Geolocation S

Total Complexity 35
Dependencies 1
Dependents 1
Total lines 266
Lines of code 134
Logical lines of code 78
Comment lines 82
Methods 7
Properties 2

Methods 7

Method Rating Maintainability Complexity Lines of code
geolocate_via_api()
A
46 11 36
geolocate_ip()
A
47 9 40
get_external_ip_address()
S
52 6 23
get_country_code_from_headers()
S
57 3 17
get_ip_address()
S
63 4 10
is_geolocation_enabled()
S
78 1 3
get_local_database_path()
S
72 1 5